package com.itheima.demo;

public class IntegerDemo {
    public static void main(String[] args) {
        String s = "91 27 46 38 50";
        String[] strs = s.split(" ");
        int[] ints = new int[strs.length];
        for (int i = 0; i < strs.length; i++) {
            ints[i] = Integer.parseInt(strs[i]);
        }
        for (int i = 0; i < ints.length; i++) {
            System.out.println(ints[i]);
        }
    }
}
